package cn.chenhongchao.hospital.controller;

import cn.chenhongchao.hospital.common.api.CommonResult;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: 啊超
 * @time: 2021/5/31 11:17
 */
@Api(value = "阿超正在努力中！！！！！！", tags = "阿超test接口")
@RestController
@CrossOrigin
@RequestMapping(value = "/test", method = RequestMethod.GET)
public class Test401Controller {

    @RequestMapping("/gettest")
    public CommonResult getMap(){


        return CommonResult.success("大兄弟 这个接口为你而写的");


 }


}
